package com.niiwoo.civet.mobile.vo.response.invest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by dell on 2017/11/28.
 * 标的投资记录列表
 */
@Getter
@Setter
@ToString
@ApiModel("标的投资记录列表")
public class ProjectInvestOrderListResponseVO {

	@ApiModelProperty("总记录数")
	private Integer totalRecord;

	private List<ProjectInvestOrderVO> items = new ArrayList<>();
	@Getter
	@Setter
	@ToString
	@ApiModel("标的投资记录")
	public static class ProjectInvestOrderVO {
		@ApiModelProperty("投资人用户id")
		private String investUserId;
		@ApiModelProperty("投资人头像")
		private String investorHeadImage;
		@ApiModelProperty("投资人昵称")
		private String investorNickName;
		@ApiModelProperty("投资人性别")
		private Byte investorGender;
		@ApiModelProperty("投资人你我分")
		private Integer investorNiiwooScore;
		@ApiModelProperty("投资金额")
		private BigDecimal amount;
		@ApiModelProperty("投资时间")
		private Date investTime;
		@ApiModelProperty(value = "投资人来源(渠道)",notes = "0-你我金融 1-考拉理财 2-团贷网")
		private Byte channelCode;
	}
}
